using System;
using UnityEngine;
    /// <summary>
    /// AnimatorControllParameter属性
    /// </summary>
    [AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
    public class ESF_AnimatorControllLayerAttribute : PropertyAttribute
    {
        /// <summary>
        /// Layer
        /// </summary>
        public enESF_AnimatorControllerLayer enLayer { get; private set; }
        /// <summary>
        /// Layer索引
        /// </summary>
        public int layerIndex { get; private set; }
        /// <summary>
        /// LayerNameIndex枚举
        /// </summary>
        public enESF_AnimatorControllerLayerNameIndex enLayerNameIndex { get; private set; }
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="_enLayer">Layer枚举</param>
        /// <param name="_layerIndex">Layer索引</param>
        /// <param name="_enLayerNameIndex">Layer名称索引枚举</param>
        public ESF_AnimatorControllLayerAttribute(enESF_AnimatorControllerLayer _enLayer, int _layerIndex, enESF_AnimatorControllerLayerNameIndex _enLayerNameIndex)
        {
            enLayer = _enLayer;
            layerIndex = _layerIndex;
            enLayerNameIndex = _enLayerNameIndex;
        }
    }